unrecognized option `-remap'

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • klenghost
    New Member
    • Sep 2006
    • 2

    unrecognized option `-remap'

    everytime i try to compile its keeps saying this :
    unrecognized option `-remap'
    Invalid argument



    #include <allegro.h>


    int main(){

    allegro_init();
    install_keyboar d();
    set_gfx_mode( GFX_AUTODETECT, 640, 480, 0, 0);

    acquire_screen( );

    clear_to_color( screen, makecol( 255, 255, 255));

    putpixel( screen, 5, 5, makecol( 128, 200, 23));

    circle( screen, 20, 20, 10, makecol( 255, 0, 0));
    circlefill( screen, 50, 50, 25, makecol( 0,255, 0));

    rect( screen, 70, 70, 90, 90, makecol( 0, 0, 255));
    rectfill( screen, 100, 100, 120, 120, makecol( 12, 34, 200));

    line( screen, 130, 130, 150, 150, makecol( 255, 0, 0));
    line( screen, 130, 130, 170, 130, makecol( 255, 0, 0));
    line( screen, 170, 130, 150, 150, makecol( 255, 0, 0));

    floodfill( screen, 140, 135, makecol( 255, 255, 0));

    triangle( screen, 200, 200, 200, 220, 220, 210, makecol( 213, 79, 40));

    release_screen( );

    readkey();

    return 0;

    }
    END_OF_MAIN();

    that is what i try to work on ( yes i am a newbie, but what am i doing wrong ? )

    thanx in advance
  • Banfa
    Recognized Expert Expert
    • Feb 2006
    • 9067

    #2
    It is nothing to do with your source code, you are passing the compiler a switch on its command line '-remap' which it does not recognise. Remove the switch from the command line.

    Comment

    • klenghost
      New Member
      • Sep 2006
      • 2

      #3
      in which commandline should i look ( i am new to all of this )

      thanx :)

      Comment

      Working...